import { CHANGE_NAME } from './action-type'

const personalAction = {
	changeName: (name, age) => {
		return {
			type: CHANGE_NAME,
			payload: { name, age }
		}
	}
}

export default personalAction